package cn.javass.dp.flyweight.demo1;

public class ConcreateFlyweight extends Flyweight {
    //接受外部状态
    public ConcreateFlyweight(String extrinsic) {
        super(extrinsic);
    }

    @Override
    public void operate(int extrinsic) {
        System.out.println("具体Flyweight:" + extrinsic);
    }


}
